<?php
/**
 * 最新索取目录文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	prolist
 */
if (is_object($objWebInit)) {
	if(!isset($objprolist)){
		include_once(__WEB_ROOT."/prolist/class/prolist.class.php");
		include_once(__WEB_ROOT."/prolist/config/var.inc.php");
		$objprolist = new prolist();
		$objprolist->setDBG($arrGPdoDB);
		if(is_object($objWebInit->db)) $objprolist->db = $objWebInit->db;
		else $objprolist->db();
	}

	$arrTopprolist1 = array();
	$arrTopprolist1 = $objprolist->getInfoList("where type_id=1 and pass=1","  ORDER BY recommendflag DESC,submit_date DESC", 0, 5);
	unset($arrTopprolist1['COUNT_ROWS']);

	// print_r($arrTopprolist1);
	// 输出到模板
	$arrMOutput["smarty_assign"]['arrTopprolist1'] = $arrTopprolist1;
}
?>